package cn.bandeqing.worker.req;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class WorkerSaveOrUpdateReq implements Serializable {

    /**
     * 服务人员自增ID
     */
    private Long workerId;

    /**
     * 昵称
     */
    @NotBlank
    private String workerNickName;

    private String workerLoginPassword;

    /**
     * 真实姓名
     */
    @NotBlank
    private String workerRealName;

    @NotBlank
    private String workerPhone;

    /**
     * 身份证号
     */
    @NotBlank
    private String workerIdCardNumber;

    /**
     * 0=收纳师 1=搬家小哥
     */
    @NotNull
    private Integer workerType;

    /**
     * 紧急联系人
     */
    @NotBlank
    private String workerEmergencyContact;

    @NotBlank
    private String workerEmergencyContactPhone;

    /**
     * 民族
     */
    @NotNull
    private Integer workerNation;

    @NotNull
    private Integer workerSex;

    /**
     * 年龄
     */
    @NotNull
    private Integer workerAge;

    /**
     * 注册
     */
    @NotBlank
    private String workerAddress;

    @NotNull
    private Double workerAddressLng;
    @NotNull
    private Double workerAddressLat;

    /**
     * 工作年限
     */
    @NotNull
    private Integer workerYear;

    /**
     * 城市编码code
     */
    @NotBlank
    private String workerCity;

    private List<Integer> workerSkillsList;

    private List<Integer> workerToolsList;

    private Long storeId;

    private String storeName;

}
